﻿@inherits UmbracoTemplatePage
@{
    Layout = "WithoutSiderbar.cshtml";
    Markdown md = new Markdown();
    
}


<div class="consulting-detail">
    <div class="consulting-detail-question">
        <div class="consulting-detail-heading clearfix">
            <div class="time-info pull-right">@Model.Content.CreateDate.ToString("yyyy-MM-dd HH:mm")</div>
            来自 @UtilTool.HideIp(Model.Content.GetPropertyValue<string>("ip")) 的网友 @UtilTool.hideEmail(Model.Content.GetPropertyValue<string>("email")) 提问：
</div>
        <div class="consulting-detail-title clearfix">
            <p class="bg-primary pull-right category"><a href="@Model.Content.Parent.Url">@Model.Content.Parent.Name</a></p>
            <h1>@Model.Content.Name</h1>
        </div>
        <div class="consulting-detail-content markdown-sync">
            @MvcHtmlString.Create(md.Transform(Model.Content.GetPropertyValue<string>("consultingQuestion")))
        </div>
    </div>
    <div class="consulting-detail-answer">
        <div class="consulting-detail-heading clearfix">
            <div class="time-info pull-right">@Model.Content.UpdateDate.ToString("yyyy-MM-dd HH:mm")</div>
        </div>
        <div class="consulting-detail-content markdown-sync">
            @MvcHtmlString.Create(md.Transform(Model.Content.GetPropertyValue<string>("consultingAnswer")))
        </div>
    </div>
</div>